{include file="../public/head" /}

<link rel="stylesheet" href="__STATIC__/mobile/css/mdui.css" />
<link rel="stylesheet" href="__STATIC__/mobile/css/app.css" />
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="container-fluid">
    <!--右部菜单-->
    {include file="public/right" /}
    <div class="log-logo">
        <h1 class="title-center" style="text-align: center;">我的车库</h1>
    </div>
    <div class="log">
        <div class="log-con">
            {volist name="car_list" id="vo" empty="<span class='layui-btn layui-btn-normal layui-btn-radius layui-btn-xs'>暂无数据</span>"}
                <div class="layui-card">
                    <div class="layui-card-header">{$vo.car_number} &emsp; {$vo.status|car_status} &emsp; {$vo.create_time}</div>
                    <div class="layui-card-body">
                        <img src="__STATIC__/../{$vo.car_thumb}" width="100%" height="100%">
                    </div>
                    <a href="{:url('index/car/del_car',['id'=>$vo.id])}" class='layui-btn layui-btn-danger layui-btn-radius layui-btn-xs' style="float: right">
                        删除该车辆
                    </a>
                </div>
                <hr class="layui-bg-blue">
            {/volist}
            {$car_list->render()}
        </div>
    </div>
</div>
<script src="__STATIC__/mobile/js/mdui.js"></script>
</body>
</html>